package com.example.demo.web.user;

import com.example.demo.web.model.ResultInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/user")
public class UserController {

    @GetMapping("/get")
    public ResultInfo<String> get(){
        return ResultInfo.buildSuccess(System.getProperty("port"));
    }

}
